package org.millioncall.yueyoga.admin.service;

import java.util.List;
import java.util.Map;

import org.millioncall.openplatform.common.PaginatedList;
import org.millioncall.yueyoga.admin.model.GoodType;

public interface GoodTypeService {
	
	public boolean save(GoodType goodType);

	public boolean update(GoodType goodType);

	public boolean deleteById(Integer id);

	public boolean deleteByIds(String ids);

	public GoodType findGoodTypeById(Integer id);

	public PaginatedList<GoodType> findGoodTypeInPage(Map<String, Object> map,
			int start, int limit);

	public List<GoodType> findAll();

}
